package com.bridgeintelligent.tag.engine.es.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.elasticsearch.index.query.QueryBuilder;
import org.elasticsearch.search.aggregations.AggregationBuilder;

/**
 * Created by JackCheung on 2019/10/28 1:31 PM.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IndexModel {

    /**
     * es QueryBuilder
     */
    private QueryBuilder queryBuilder;
    /**
     * 聚合
     */
    private AggregationBuilder aggregationBuilder;
}
